/*
 * Base structure
 */


/* Move down content because we have a fixed navbar that is 50px tall */

body {
    padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fn-hide {
    display: none;
}


/*
 * Top navigation
 * Hide default border to remove 1px line.
 */

.navbar-fixed-top {
    border: 0;
}

.nav>li>.fn-hide {
    display: none;
}


/*
 * Sidebar
 */


/* Hide for mobile, show later */

.skin-blue .left-side,
.skin-blue .main-sidebar,
.skin-blue .wrapper {
    background-color: #222d32;
}

.main-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
    min-height: 100%;
    width: 230px;
    z-index: 810;
    background-color: #222d32;
    -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
    transition: transform .3s ease-in-out, width .3s ease-in-out;
}

.user-panel {
    position: relative;
    width: 100%;
    padding: 10px;
    overflow: hidden;
}

.user-panel>.info {
    padding: 5px 5px 5px 15px;
    line-height: 1;
    position: absolute;
    left: 55px;
    color: #fff;
}

.user-panel>.info>a {
    color: #fff;
}

.fa-circle:before {
    content: "\f111";
}

.user-panel>.info>a>.fa,
.user-panel>.info>a>.glyphicon,
.user-panel>.info>a>.ion {
    margin-right: 3px;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.user-panel>.image>img {
    width: 100%;
    max-width: 45px;
    height: auto;
}

.sidebar {
    display: block;
}


/* Sidebar navigation */

.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar>li>a {
    padding-right: 20px;
    padding-left: 20px;
}

.sidebar-menu li>a {
    position: relative;
}

.sidebar-menu>li>a {
    padding: 12px 5px 12px 15px;
    display: block;
    color: #b8c7ce;
}

.sidebar a {
    color: #b8c7ce;
}

.sidebar-menu>li>a {
    border-left: 3px solid transparent;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu>li.active>a,
.sidebar-menu>li:hover>a {
    color: #fff;
    background: #1e282c;
    border-left-color: #3c8dbc;
}

.fa-angle-left:before {
    content: "\f104";
}

.sidebar-menu li>a>.pull-right {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -7px;
}

.sidebar-menu .treeview-menu>li>a {
    padding: 5px 5px 5px 15px;
    display: block;
    font-size: 14px;
}

.sidebar-menu li>a>.fa-angle-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
}

.nav-sidebar>.active>a,
.nav-sidebar>.active>a:hover,
.nav-sidebar>.active>a:focus {
    color: #fff;
    background-color: #428bca;
}

.slide-list-group {
    margin-bottom: 0;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

.project-up-down {
    cursor: pointer;
    ;
}

.fn-right {
    float: right;
}

/*.btn-switch.active,
.btn-switch.active.focus {
    background-color: #b92c28;
}*/

.mb15 {
    margin-bottom: 15px;
}

.ui-dialog-content .input-group {
    width: 100%;
}

.flatpickr-calendar {
    border: 1px solid #ffb866;
}

.daily-hide {
    display: none;
}

.equip-belong-num {
    float: right;
    margin-right: 1%;
}

.equip-online-num {
    float: right;
    margin-right: 37%;
}


/*更改后在此处以下覆盖部分原有样式*/


/*全局字体微软雅黑*/

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    /*background-image: url(../images/blue_bg.png);*/
    background-image: url(../images/bg2.png);
    background-color: #fafafa;
}


/*作侧导航样式调整*/

.main-sidebar {
    width: 180px;
}


/*中间内容部分向左移动*/

@media (max-width: 768px) {
    .col-md-offset-2 {
        margin-left: 26.666667%;
    }
}

@media screen and (max-width: 767px) {
    .table-responsive {
        border: 1px solid #222d32;
    }
    .col-md-offset-2 {
        margin-left: 36.666667%;
    }
}

@media (min-width: 992px) {
    .col-md-offset-2 {
        margin-left: 16.666667%;
    }
}

@media (min-width: 1700px) {
    .col-md-offset-2 {
        margin-left: 10.666667%;
    }
}


/*表格提示字颜色*/

caption {
    color: #222d32;
}


/*操作按钮*/

.delBtn {
    color: #ff0000;
}

.delBtn:hover {
    color: #ffffff;
}

.editBtn {
    color: #337ab7;
    margin-left: 5px;
}

.editBtn:hover {
    color: #ffffff;
}


/*表格边框色*/

.table-bordered {
    border: solid 1px rgba(158, 158, 158, .3);
}


/*所有表格列预留长度*/

thead th {
    min-width: 80px;
}

thead th:nth-child(1) {
    min-width: 50px;
}


/*表单头下地边框1px*/

.table-bordered>thead>tr>th {
    border-bottom-width: 1px;
}


/*控制中心项目边框圆角*/

.list-group-item {
    border-radius: 4px;
}


/*表格去除竖边框*/

.table-bordered>thead>tr>th {
    border: none;
}

.table-bordered>tbody>tr>td {
    border-left: none;
    border-right: none;
}


/*表格行鼠标悬停效果*/

.list_tr {
    transition: 0.3s ease-out;
}

.list_tr:hover {
    transition: 0.3s ease-in;
    background-color: #222d32;
    color: #ffffff;
}


/*表格圆角*/

table {
    border-collapse: separate;
    border-radius: 5px;
}


/*表格名底边颜色*/

.page-header {
    border-bottom-color: #222d32;
}


/*表格内边框颜色*/

.table-bordered>tbody>tr>td {
    border-bottom: none;
    border-top-color: rgba(158, 158, 158, .3);
}


/*项目列表表格圆角*/

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: none;
}


/*添加页面的提交按钮样式*/

.sub_btn {
    transition: 0.5s ease-out;
    background-color: #ffffff;
    color: #222d32;
    border: solid 1px #222d32;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    /*margin-left: 25%;*/
    height: 30px;
    line-height: 26px;
    font-size: 16px;
    margin-top: 20px;
}

.sub_btn:hover {
    transition: 0.5s ease-in;
    background-color: #222d32;
    color: #ffffff;
    border: solid 1px #ffffff;
}

.sun_right_btn {
    /*margin-left: 60px;*/
}

.sub_left_btn {
    /*margin-left: 60px;*/
}


/*自定义弹框样式*/

.tipBox {
    border: solid 1px #222d32;
    border-radius: 4px;
    width: 500px;
    height: 180px;
    position: absolute;
    left: 50%;
    margin-left: -250px;
    top: 200px;
    /*margin-top: -200px;*/
    font-size: 18px;
    background-color: #fafafa;
    text-align: center;
    box-shadow: 5px 5px 5px 2px #888888;
    transition: 0.5s ease-in;
}

.tip_btn {
    width: 80px;
    height: 30px;
    float: right;
    margin-top: 20px;
    margin-right: 50px;
    background-color: #fafafa;
    border-radius: 4px;
    border: solid 1px #222d32;
    transition: 0.5s ease-out;
    font-size: 16px;
}

.tip_btn:hover {
    transition: 0.5s ease-in;
    background-color: #222d32;
    color: #ffffff;
}

.nav-pills>li>a {
    padding: 5px 8px;
}

.nav-pills>li+li {
    margin-left: 20px;
}

.delSection {
    border: solid 1px #222d32;
    transition: 0.5s ease-out;
    border-radius: 4px;
    margin-left: 30px;
}

.delSection:hover {
    transition: 0.5s ease-in;
    background-color: #222d32;
    color: #ffffff;
}

.addSection {
    border: solid 1px #222d32;
    transition: 0.5s ease-out;
    border-radius: 4px;
    margin-top: 10px;
    background-color: #ffffff;
}

.addSection:hover {
    transition: 0.5s ease-in;
    background-color: #222d32;
    color: #ffffff;
}

.btn-group {
    /*margin-top: 10px;*/
    margin-top: 20px;
}

.btn-success {
    font-size: 12px !important;
}

.btn-default {
    font-size: 12px !important;
}
.btn-switch.active,
.btn-switch.active.focus {
    background-color: #f3f0f0;
    color: #060000;
}

.ui-dialog-content label {
    font-weight: 100;
}


/*开关*/

.on_off_btn {
    margin-left: 5px;
}

.disDiv {
    display: inline-block;
    position: relative;
    top: 11px;
}


/*ios开关*/

.ios i {
    cursor: pointer;
}

.ios {
    cursor: pointer;
    width: 45px;
    height: 20px;
    border-radius: 25px;
    border: 1px solid #d2d0d0;
    background-color: #5cb85c;
    transition: all 0.2s;
    margin-top: 5px;
    /*display: inline-block;*/
}

.iosBtn {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 25px;
    border-radius: 25px;
    border: 1px solid #d2d0d0;
    background-color: #fff;
    position: relative;
    top: -1px;
    transition: all 0.2s;
}

.ios2 {
    cursor: pointer;
    width: 45px;
    height: 20px;
    border-radius: 25px;
    border: 1px solid #d2d0d0;
    background-color: #fff;
    transition: all 0.2s;
}

.iosBtn2 {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 0;
    border-radius: 25px;
    border: 1px solid #d2d0d0;
    background-color: #fff;
    position: relative;
    top: -1px;
    left: -1px;
    transition: all 0.2s;
}

.Daily_on_off_btn {
    border-bottom: solid 1px #e8e8e8;
    padding-bottom: 10px;
}


/*操作弹出框*/

.week_box {
    border-top: solid 1px #e8e8e8;
    margin-top: 10px;
}

.ui-dialog-content {
    /*overflow-y: scroll;*/
    overflow: auto;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;*/
    /*color: #333333;*/
}


/*控制中心项目标识符号*/

.control-tip {
    display: inline-block;
    width: 3px;
    height: 15px;
    background: #fd661f;
    margin-right: 2px;
    position: relative;
    top: 2px;
}

.control-projectName {
    display: inline-block;
    color: #9e9e9e;
    margin-left: 10px;
    /*border: solid 1px black;*/
    width: 150px;
    height: 20px;
    overflow: hidden;
    /*自动隐藏文字*/
    text-overflow: ellipsis;
    /*文字隐藏后添加省略号*/
    white-space: nowrap;
    /*强制不换行*/
    position: relative;
    top: 5px;
}

.disInline {
    display: inline-block;
}

.debug {
    border: solid 1px black;
}

.control-searchBtn {
    padding: 0 12px;
    margin-right: 10px;
    border-radius: 5px;
    color: #FFFFFF;
    background-color: #fa661e;
    border: none;
    /*height: 50px;*/
}

.control-weekDay-btn {
    color: #fa661e;
    font-size: 20px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.control-chosedBtn {
    color: #FFFFFF;
    background-color: #fa661e;
}

.marginTop-20 {
    margin-top: 20px;
}

.table-50 {
    width: 50%;
}


/*状态*/

.ThisStatu {
    margin-top: -3px;
    border-radius: 50%;
    border: solid 3px #FFF;
    width: 26px;
    height: 26px;
    text-align: center;
    /*background: #4cae4c;*/
    background: #FF0000;
}

.OKStatu {
    background: #4cae4c;
}


/*文字媒体查询*/

@media screen and (max-width: 1480px) {
    .fontMedia {
        font-size: 12px;
    }
}


/*滚动条媒体查询*/

@media screen and (max-width: 1500px) {
    .table-responsive {
        overflow-x: hidden;
    }
}

@media screen and (max-width: 1200px) {
    .table-responsive {
        overflow-x: auto;
    }
}
/* 
    设置相机图片内边距
*/
.padding_This{
    /*background:#333;*/
    padding:0 1% 0 1%;
}
/*
    设置下半部分div边距距离
*/
.margin_div{
    margin-top: 5px;
}
/* 
    设置div外边框
*/
.div_border{
    border:1px solid #ababab;
    border-radius:5px;
}
/*
    设置字体边距
*/
.margin_p{
    padding: 6px 0 4px 20px;
    margin: 0;
    font-weight: 700;
    background:#f0f0f0;
}
.margin_span{
        font-weight: 400;
        color: #ababab;
}
.margin_time{
    color: #333;
    margin: 0 2px 0 2px;
}
/*
    设置图标位置
*/
.position_span{
    background:#FFF;
    position: absolute;
    right: 8%;
    bottom: 21%;
    height:40px;
    width:40px;
    border-radius:5px;
}
/*
    设置图标样式
*/
.icon_css{
    font-size: 30px;
    top: 5px;
    left: 4px;
    color:#ababab
}

/*去除下边框线*/
.ui-dialog-header{
    border-bottom: 0px !important;
}